<template>
  <!-- <div class="map-container"> -->
  <div id="allmap"></div>
  <!-- </div> -->
</template>

<script>
export default {
  name: 'mapbaidu',
  data() {
    return {

    };
  },
  mounted() {
    var map = new BMapGL.Map("allmap");
    map.centerAndZoom(new BMapGL.Point(116.280190, 40.049191), 19);
    map.enableScrollWheelZoom(true);
    map.setHeading(64.5);
    map.setTilt(73);
  }
}

</script>
<style lang="scss" scoped>
#allmap {

  width: 800px;
  height: 800px;
  overflow: hidden;
  margin-top: 20px;
}
</style>